/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package constant;

/**
 *各修习类别及所要求的学分
 * @author 乐山
 */
public enum CourseTypeEnum {
    BASICEC("基础选修", 6.0), SPECIALEC("专业选修", 20.0), SPECIALRC("专业必修", 35.0);
    
    private String name;
    private Double credit;
    
    private CourseTypeEnum(String name, Double credit){
        this.name = name;
        this.credit = credit;
    }

    public String getName() {
        return name;
    }

    public Double getCredit() {
        return credit;
    }
    
    
}
